package com.epfresh.bean;

import java.util.List;

/**
 * Author: Chen
 * Date: 2019/4/19
 * Desc:
 */
public class NewHomeBean {

    private List<HomeColumnBean> column;
    //两张背景图
    private List<BackgroundsBean> backgrounds;
    //顶部banner图
    private List<BannersBean> banners;
    //批发市场
    private List<MarketsBean> markets;
    //配送中心
    private List<DistributionBean> distribution;
    //限时特价
    private List<SpikeBean> seckills;
    //产地拼货
    private List<SpellsBean> spells;

    //配送中心广告
    private HomeAdBean actDistribution;
    //限时特价广告
    private HomeAdBean actSpecial;
    //产地直销广告
    private HomeAdBean actBase;

    private String seckillBeginTime;

    private String seckillEndTime;

    private String sysDate;

    private String cityName;
    private int cityCode;
    private int disMore;
    private String seckillStoreId;
    private String seckillTotal;
    private String spellTotal;

    public List<HomeColumnBean> getColumn() {
        return column;
    }

    public void setColumn(List<HomeColumnBean> column) {
        this.column = column;
    }

    public List<BackgroundsBean> getBackgrounds() {
        return backgrounds;
    }

    public void setBackgrounds(List<BackgroundsBean> backgrounds) {
        this.backgrounds = backgrounds;
    }

    public List<BannersBean> getBanners() {
        return banners;
    }

    public void setBanners(List<BannersBean> banners) {
        this.banners = banners;
    }

    public List<MarketsBean> getMarkets() {
        return markets;
    }

    public void setMarkets(List<MarketsBean> markets) {
        this.markets = markets;
    }

    public List<DistributionBean> getDistribution() {
        return distribution;
    }

    public void setDistribution(List<DistributionBean> distribution) {
        this.distribution = distribution;
    }

    public List<SpikeBean> getSeckills() {
        return seckills;
    }

    public void setSeckills(List<SpikeBean> seckills) {
        this.seckills = seckills;
    }

    public List<SpellsBean> getSpells() {
        return spells;
    }

    public void setSpells(List<SpellsBean> spells) {
        this.spells = spells;
    }

    public HomeAdBean getActDistribution() {
        return actDistribution;
    }

    public void setActDistribution(HomeAdBean actDistribution) {
        this.actDistribution = actDistribution;
    }

    public HomeAdBean getActSpecial() {
        return actSpecial;
    }

    public void setActSpecial(HomeAdBean actSpecial) {
        this.actSpecial = actSpecial;
    }

    public HomeAdBean getActBase() {
        return actBase;
    }

    public void setActBase(HomeAdBean actBase) {
        this.actBase = actBase;
    }

    public String getSeckillBeginTime() {
        return seckillBeginTime;
    }

    public void setSeckillBeginTime(String seckillBeginTime) {
        this.seckillBeginTime = seckillBeginTime;
    }

    public String getSeckillEndTime() {
        return seckillEndTime;
    }

    public void setSeckillEndTime(String seckillEndTime) {
        this.seckillEndTime = seckillEndTime;
    }

    public String getSysDate() {
        return sysDate;
    }

    public void setSysDate(String sysDate) {
        this.sysDate = sysDate;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public int getCityCode() {
        return cityCode;
    }

    public void setCityCode(int cityCode) {
        this.cityCode = cityCode;
    }

    public int getDisMore() {
        return disMore;
    }

    public void setDisMore(int disMore) {
        this.disMore = disMore;
    }

    public String getSeckillStoreId() {
        return seckillStoreId;
    }

    public void setSeckillStoreId(String seckillStoreId) {
        this.seckillStoreId = seckillStoreId;
    }

    public String getSeckillTotal() {
        return seckillTotal;
    }

    public void setSeckillTotal(String seckillTotal) {
        this.seckillTotal = seckillTotal;
    }

    public String getSpellTotal() {
        return spellTotal;
    }

    public void setSpellTotal(String spellTotal) {
        this.spellTotal = spellTotal;
    }

    public static class BackgroundsBean {

        private String img;
        private String imgExtendPath;

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getImgExtendPath() {
            return imgExtendPath;
        }

        public void setImgExtendPath(String imgExtendPath) {
            this.imgExtendPath = imgExtendPath;
        }
    }

    public static class BannersBean {

        private String img;
        private String link;
        private String title;
        private int type;//1:H5链接2：店铺3：商品
        private String productId;
        private String storeId;

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getProductId() {
            return productId;
        }

        public void setProductId(String productId) {
            this.productId = productId;
        }

        public String getStoreId() {
            return storeId;
        }

        public void setStoreId(String storeId) {
            this.storeId = storeId;
        }
    }

    public static class MarketsBean {

        private String name;
        private int storeCount;
        private String logo;
        private int id;
        private String shortName;
        private int productCount;
        private List<CategoryCntBean> categoryCnt;
        private List<String> dynamic;
        private MarketingBean marketing;
//        private boolean changBg;
//        private String bgUrl;
//
//        public String getBgUrl() {
//            return bgUrl;
//        }
//
//        public void setBgUrl(String bgUrl) {
//            this.bgUrl = bgUrl;
//        }
//
//        public boolean isChangBg() {
//            return changBg;
//        }
//
//        public void setChangBg(boolean changBg) {
//            this.changBg = changBg;
//        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getStoreCount() {
            return storeCount;
        }

        public void setStoreCount(int storeCount) {
            this.storeCount = storeCount;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getShortName() {
            return shortName;
        }

        public void setShortName(String shortName) {
            this.shortName = shortName;
        }

        public int getProductCount() {
            return productCount;
        }

        public void setProductCount(int productCount) {
            this.productCount = productCount;
        }

        public List<CategoryCntBean> getCategoryCnt() {
            return categoryCnt;
        }

        public void setCategoryCnt(List<CategoryCntBean> categoryCnt) {
            this.categoryCnt = categoryCnt;
        }

        public MarketingBean getMarketing() {
            return marketing;
        }

        public void setMarketing(MarketingBean marketing) {
            this.marketing = marketing;
        }

        public List<String> getDynamic() {
            return dynamic;
        }

        public void setDynamic(List<String> dynamic) {
            this.dynamic = dynamic;
        }

        public static class CategoryCntBean {

            private String icon_url;
            private String name;
            private int id;
            private int productCount;

            public String getIcon_url() {
                return icon_url;
            }

            public void setIcon_url(String icon_url) {
                this.icon_url = icon_url;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getProductCount() {
                return productCount;
            }

            public void setProductCount(int productCount) {
                this.productCount = productCount;
            }
        }

        public static class MarketingBean {
            private String img;
            private String link;
            private String title;
            private int type;
            private String productId;
            private String storeId;

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getProductId() {
                return productId;
            }

            public void setProductId(String productId) {
                this.productId = productId;
            }

            public String getStoreId() {
                return storeId;
            }

            public void setStoreId(String storeId) {
                this.storeId = storeId;
            }
        }

    }

    public static class DistributionBean {

        private String name;
        private String logo;
        private int id;
        private int productCount;
        private String goodCommentsRate;
        private int isPublicOffer;//是否开启公开报价（0：禁用，1：开启）
        private int customerStatus;//客户状态（0：禁用，1：申请中，2：启用，null：非客户）注：2：显示会员角标其他不显示

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getProductCount() {
            return productCount;
        }

        public void setProductCount(int productCount) {
            this.productCount = productCount;
        }

        public String getGoodCommentsRate() {
            return goodCommentsRate;
        }

        public void setGoodCommentsRate(String goodCommentsRate) {
            this.goodCommentsRate = goodCommentsRate;
        }

        public int getIsPublicOffer() {
            return isPublicOffer;
        }

        public void setIsPublicOffer(int isPublicOffer) {
            this.isPublicOffer = isPublicOffer;
        }

        public int getCustomerStatus() {
            return customerStatus;
        }

        public void setCustomerStatus(int customerStatus) {
            this.customerStatus = customerStatus;
        }
    }

    public static class SpikeBean {

        private int specId;
        private ProductBean product;
        private String promotionMarkUrl;//促销角标
        private String price;//促销价格
        private String promotionItemId;
        private String promotionId;
        private int status;

        public int getSpecId() {
            return specId;
        }

        public void setSpecId(int specId) {
            this.specId = specId;
        }

        public ProductBean getProduct() {
            return product;
        }

        public void setProduct(ProductBean product) {
            this.product = product;
        }

        public String getPromotionMarkUrl() {
            return promotionMarkUrl;
        }

        public void setPromotionMarkUrl(String promotionMarkUrl) {
            this.promotionMarkUrl = promotionMarkUrl;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPromotionItemId() {
            return promotionItemId;
        }

        public void setPromotionItemId(String promotionItemId) {
            this.promotionItemId = promotionItemId;
        }

        public String getPromotionId() {
            return promotionId;
        }

        public void setPromotionId(String promotionId) {
            this.promotionId = promotionId;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public static class ProductBean {

            private String thumbnail;//商品图片
            private String pack;//包装单位（15公斤/箱）
            private ProductParseDtoBean productParseDto;
            private String unit;//促销价格单位
            private String name;//（包装名称）“默认”不显示
            private String id;
            private String storeId;

            public String getThumbnail() {
                return thumbnail;
            }

            public void setThumbnail(String thumbnail) {
                this.thumbnail = thumbnail;
            }

            public String getPack() {
                return pack;
            }

            public void setPack(String pack) {
                this.pack = pack;
            }


            public ProductParseDtoBean getProductParseDto() {
                return productParseDto;
            }

            public void setProductParseDto(ProductParseDtoBean productParseDto) {
                this.productParseDto = productParseDto;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }


            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStoreId() {
                return storeId;
            }

            public void setStoreId(String storeId) {
                this.storeId = storeId;
            }

            public static class ProductParseDtoBean {

                private String title;//商品名称

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }
        }
    }

    public static class SpellsBean {

        private String statusStr;
        private int salesVolume;
        private String deliveryTime;
        private String originalPrice;
        private String packageUnit;
        private String packageSize;
        private String title;
        private int type;
        private int inventory;
        private int moq;
        private boolean isLowStock;
        private String saleTime;
        private String price;
        private int id;
        private String chargeUnit;
        private String thumbnail;
        private String incr;
        private String packageContainer;
        private String banner;
        private boolean saleChannelApp;
        private int storeId;
        private String pack;
        private List<TagBean> tags;
        private String specName;
        private String deposit;
        private int auditStatus;
        private int status;

        public String getStatusStr() {
            return statusStr;
        }

        public void setStatusStr(String statusStr) {
            this.statusStr = statusStr;
        }

        public int getSalesVolume() {
            return salesVolume;
        }

        public void setSalesVolume(int salesVolume) {
            this.salesVolume = salesVolume;
        }

        public String getDeliveryTime() {
            return deliveryTime;
        }

        public void setDeliveryTime(String deliveryTime) {
            this.deliveryTime = deliveryTime;
        }

        public String getOriginalPrice() {
            return originalPrice;
        }

        public void setOriginalPrice(String originalPrice) {
            this.originalPrice = originalPrice;
        }

        public String getPackageUnit() {
            return packageUnit;
        }

        public void setPackageUnit(String packageUnit) {
            this.packageUnit = packageUnit;
        }

        public String getPackageSize() {
            return packageSize;
        }

        public void setPackageSize(String packageSize) {
            this.packageSize = packageSize;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getInventory() {
            return inventory;
        }

        public void setInventory(int inventory) {
            this.inventory = inventory;
        }

        public int getMoq() {
            return moq;
        }

        public void setMoq(int moq) {
            this.moq = moq;
        }

        public boolean isIsLowStock() {
            return isLowStock;
        }

        public void setIsLowStock(boolean isLowStock) {
            this.isLowStock = isLowStock;
        }

        public String getSaleTime() {
            return saleTime;
        }

        public void setSaleTime(String saleTime) {
            this.saleTime = saleTime;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getChargeUnit() {
            return chargeUnit;
        }

        public void setChargeUnit(String chargeUnit) {
            this.chargeUnit = chargeUnit;
        }

        public String getThumbnail() {
            return thumbnail;
        }

        public void setThumbnail(String thumbnail) {
            this.thumbnail = thumbnail;
        }

        public String getIncr() {
            return incr;
        }

        public void setIncr(String incr) {
            this.incr = incr;
        }

        public String getPackageContainer() {
            return packageContainer;
        }

        public void setPackageContainer(String packageContainer) {
            this.packageContainer = packageContainer;
        }

        public String getBanner() {
            return banner;
        }

        public void setBanner(String banner) {
            this.banner = banner;
        }

        public boolean isSaleChannelApp() {
            return saleChannelApp;
        }

        public void setSaleChannelApp(boolean saleChannelApp) {
            this.saleChannelApp = saleChannelApp;
        }

        public int getStoreId() {
            return storeId;
        }

        public void setStoreId(int storeId) {
            this.storeId = storeId;
        }

        public String getPack() {
            return pack;
        }

        public void setPack(String pack) {
            this.pack = pack;
        }

        public List<TagBean> getTags() {
            return tags;
        }

        public void setTags(List<TagBean> tags) {
            this.tags = tags;
        }

        public String getSpecName() {
            return specName;
        }

        public void setSpecName(String specName) {
            this.specName = specName;
        }

        public String getDeposit() {
            return deposit;
        }

        public void setDeposit(String deposit) {
            this.deposit = deposit;
        }

        public int getAuditStatus() {
            return auditStatus;
        }

        public void setAuditStatus(int auditStatus) {
            this.auditStatus = auditStatus;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public static class TagBean {


            private String modifiedTime;
            private int imageId;
            private String color;
            private String name;
            private int creatorId;
            private int modifierId;
            private String description;
            private String createdTime;
            private int id;
            private int type;
            private String url;
            private int status;

            public String getModifiedTime() {
                return modifiedTime;
            }

            public void setModifiedTime(String modifiedTime) {
                this.modifiedTime = modifiedTime;
            }

            public int getImageId() {
                return imageId;
            }

            public void setImageId(int imageId) {
                this.imageId = imageId;
            }

            public String getColor() {
                return color;
            }

            public void setColor(String color) {
                this.color = color;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getCreatorId() {
                return creatorId;
            }

            public void setCreatorId(int creatorId) {
                this.creatorId = creatorId;
            }

            public int getModifierId() {
                return modifierId;
            }

            public void setModifierId(int modifierId) {
                this.modifierId = modifierId;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getCreatedTime() {
                return createdTime;
            }

            public void setCreatedTime(String createdTime) {
                this.createdTime = createdTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }
        }

    }

    public static class HomeAdBean {
        private String img;
        private String link;
        private String title;
        private int type;
        private String productId;
        private String storeId;

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getProductId() {
            return productId;
        }

        public void setProductId(String productId) {
            this.productId = productId;
        }

        public String getStoreId() {
            return storeId;
        }

        public void setStoreId(String storeId) {
            this.storeId = storeId;
        }
    }

}
